﻿using System;
using System.Windows;

namespace SvgViewer.Views;

/// <summary>
/// DetailView.xaml 的交互逻辑
/// </summary>
public partial class DetailView
{
    /// <summary>
    /// 构造
    /// </summary>
    public DetailView()
    {
        InitializeComponent();
    }

    /// <summary>
    /// 窗口呈现内容后触发
    /// </summary>
    /// <param name="e"></param>
    protected override void OnContentRendered(EventArgs e)
    {
        base.OnContentRendered(e);
        this.WindowState = WindowState.Maximized;
    }
}